
	<aside id="leftsidebar" class="sidebar">

		<div class="menu">
			<!-- 菜单列表开始 -->
			<ul class="list nav">		
				
				{foreach $menus as $key => $v}				
					{if condition="!empty($v['_child'])"}
						<li {if condition="(count($menus_curr) egt 1) AND ($menus_curr[0] eq $key)"	}class="active"{/if}>
								<a href="javascript:void(0);" class="menu-toggle waves-effect waves-block">					
									<span>{$v.title}</span>								
								</a>

							<ul class="ml-menu">
								<!--二级菜单遍历开始-->
								{foreach $v['_child'] as $subkey => $vv}
									{if condition="!empty($vv['_child'])"}
										<li class="{if condition="(count($menus_curr) egt 2) AND ($menus_curr[1] eq $subkey)"}active{/if}">
											<a href="javascript:void(0);" class="waves-effect waves-block">										
												<span>{$vv.title}</span>											
											</a>									
								
										</li>
									{else /}
										<li active class="{if condition="(count($menus_curr) egt 2) AND ($menus_curr[1] eq $subkey)"}active{/if}">
											<a href="{:url($vv['name'])}">										
												{$vv.title}
											</a>									
										</li>
									{/if}
								{/foreach}<!--二级菜单遍历结束-->
							</ul>
						</li>
					{else /}
						<li class="{if condition="(count($menus_curr) egt 1) AND ($menus_curr[0] eq $v['id'])"}active{/if}">
						<a href="{:url($v['name'])}">								
							{$v.title}
						</a>
						
						</li>
					{/if}
				{/foreach}<!--一级菜单遍历结束-->
			</ul><!-- 菜单列表结束 -->
		</div>

		
      	<!-- #Footer -->

	</aside>


